<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .none {
      -webkit-filter: none;
    }
    .blur {
      -webkit-filter: blur(3px);
    }
    .grayscale {
      -webkit-filter: grayscale(1);
    }
    .invert {
      -webkit-filter: invert(1);
    }
    .sepia {
      -webkit-filter: sepia(1);
    }
  </style>
</head>
<body>
  <h1>webRTC</h1>
  <video autoplay muted controls playsinline></video>
  <canvas id="picture"></canvas>
  <br>
  <button id="takePhoto">take photo</button>
  <br>
  <label for="filter">截图滤镜：</label>
  <select id="filter">
    <option value="none">none</option>
    <option value="blur">blur</option>
    <option value="grayscale">grayscale</option>
    <option value="invert">invert</option>
    <option value="sepia">sepia</option>
  </select>
  <script src="./client.js"></script>
</body>
</html>